#ifndef _H_GATHER_DATA_HANDLER_M
#define _H_GATHER_DATA_HANDLER_M
#include "freertos.h"
#include "heart_task.h"

//存储原始数据
typedef struct GatherDataHandlerMemory
{
    u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;

}GatherData;

//处理以后的数据
typedef struct TargetGatherDataHandlerMemory
{
    u8 temp;
	u8 humi;
	u16 smoke;
	u16 sunshine;
	u8 raidrop;

}TargetGatherData;

void dataHandler(GatherData* source);

#endif
